package forms

type ShopCartItemForm struct {
	GoodsId int32 `form:"goods" json:"goods" binding:"required"`
	Nums    int32 `form:"nums" json:"nums" binding:"required,min=1"`
}
type ShopCartItemUpdateForm struct {
	Nums    int32 `form:"nums" json:"nums" binding:"required,min=1"`
	Checked *bool `form:"checked" json:"checked"`
}
type CreateOrderForm struct {
	Address      string `form:"address" json:"address" binding:"required"`
	SignerName   string `form:"name" json:"name" binding:"required"`
	SingerMobile string `form:"mobile" json:"mobile" binding:"required,mobile"`
	Post         string `form:"post" json:"post" binding:"required"`
}
